Skip to content

fix(usage): say pace in words and drop the refill line for single accounts - #13

Draft
sameerr03 wants to merge 1 commit into
mainfrom
fix/usage-limits-pace-in-words
Draft

fix(usage): say pace in words and drop the refill line for single accounts#13
sameerr03 wants to merge 1 commit into
mainfrom
fix/usage-limits-pace-in-words

Conversation

@sameerr03

Copy link
Copy Markdown
Owner

The pooled limits card on Usage → Limits showed pace as a small muted glyph whose meaning lived in a tooltip, with the "ahead" state drawn as an up-arrow even though it means quota is being spent faster than the window elapses. Below the big number, a ↻ +63% in 4d 12h line restated the number (one hundred minus it) and the countdown already printed on the segment beside it. Both were leftovers from the pre-pooling design, where the icon captioned an elapsed-time marker that the segmented bar no longer draws.

Pace is now a plain sentence under the number: "Spending faster than the clock", "Spending in step with the clock", or "Spending slower than the clock". The wording lives in a shared PACE_LABEL table so web and mobile agree. The next-reset line appears only for pools with more than one account, where it carries information the big number cannot, and it now reads as a sentence naming who resets next and how much of the pool that restores, for example "Alice resets in 1h, restoring 40%".

The composer's /usage-limits panel keeps its pace icon, since that bar still draws the even-spending mark the icon captions, and its tooltip now uses the shared sentence.

Verification

  • Web and mobile typecheck pass.
  • packages/shared/src/usageLimits.test.ts passes (41 tests); the pooling maths is unchanged.
  • Lint and format are clean on every touched file.
  • Not yet exercised in a browser. Before/after screenshots to follow.

Built with Claude Fable 5.1 in T3 Code.

🤖 Generated with Claude Code

…ounts

The pooled limits card showed pace as a hover-only glyph, and a
"+63% in 4d 12h" line that, with one account, only restated the big
number and the segment countdown beside it.

Pace is now a plain sentence under the number, shared by web and mobile.
The next-reset line appears only for pools with several accounts, and
names who resets next and how much of the pool that restores.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions github-actions Bot added size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant